#ifndef NACHOSSYSCALLS_H
#define NACHOSSYSCALLS_H

#define ConsoleInput	0  
#define ConsoleOutput	1

void Fork(void (*func)());
void SysCallExit(int status);
void Yield();
int Exec(int fileNameAddress);
int Join(int pid);
void Create(int fileNameAddress);
int Open(int fileNameAddress);
void myWrite(int bufferLoc, int size, int openFileID);
int myRead(int bufferLoc, int size, int openFileID);
void myClose(int openFileID);


// Helper functions
bool getUserString(char* buffer, int bufferSize, int stringLocation);
void dummyForkFunc(int userFuncPtr);
int getSysOpenFile(char *fileName);

#endif // NACHOSSYSCALLS_H
